﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XinLife.Model.Dto
{
    public class CodeGenerateInputDto
    {
        public string TableName { get; set; }
        public List<Field> Listfield { get; set; }

        public List<SearchField> searchFields { get; set; } = new List<SearchField>();

        public List<FormField> formFields { get; set; }

        public SetInfo setInfo { get; set; }

        public Module moduleInfo { get; set; }
    }
    public class Field
    {
        public string column { get; set; }
        public string remark { get; set; }
    }
    public class SearchField
    {
        public string lablename { get; set; }
        public string field { get; set; }
        public string width { get; set; }
        public string sortCode { get; set; }
    }
    public class FormField
    {
        public string cfield { get; set; }
        public string lablename { get; set; }
        public string defaultvalue { get; set; }
        public string c_width { get; set; }
    }

    public class SetInfo
    {
        public string className { get; set; }
        public string description { get; set; }
        public string outputArea { get; set; }
        public string modelOutputDir { get; set; }
        public string controllerOutputDir { get; set; }
        public string interfaceOutputDir { get; set; }
        public string implementOutputDir { get; set; }
        public string htmlOutputDir { get; set; }
    }
}
